package com.sleep.psy.external_server.business.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sleep.psy.external_server.business.sys.entity.SysDept;

/**
 * <p>
 * 部门表 服务类
 * </p>
 *
 * @author wenliguo
 * @since 2025-08-12
 */
public interface SysDeptService extends IService<SysDept> {


    /**
     * 通过用户id获取部门信息
     * @author wenliguo
     * @date 2025/8/12 13:50
     * @param userId 用户id(患者)
     * @return com.sleep.psy.external_server.sys.entity.SysDept
    */
    SysDept selectDept(Long userId);
}
